home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9940 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: news1.h1.usa.pipeline.com!usenet
  2. From: grantp@usa.pipeline.com(Pete)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: C++ and C
  5. Date: 5 Mar 1996 02:33:34 GMT
  6. Organization: Kalevi, Inc.
  7. Message-ID: <4hg95u$38d@news1.usa.pipeline.com>
  8. References: <313BCEA7.4831@pi.net>
  9. NNTP-Posting-Host: pipe16.h1.usa.pipeline.com
  10. X-PipeUser: grantp
  11. X-PipeHub: usa.pipeline.com
  12. X-PipeGCOS: (Pete)
  13. X-Newsreader: Pipeline v3.5.0
  14.  
  15. On Mar 04, 1996 21:18:31 in article <C++ and C>, 'Marc Lucassen
  16. <lucassen@pi.net>' wrote: 
  17.  
  18.  
  19. >I have a problem whith connecting C and C++. 
  20. >If you know the answer, please send to me. 
  21. >I want to use some functions from a 'dll' compiled in C++ whitch contains 
  22.  
  23. >some classes. Is it possible to use this functions with C source and how  
  24. >do I have to declare this functions. (I also make the 'C++' source). I  
  25. >get problems with compiling and linking them. 
  26. Do you have a header file for the DLL? 
  27. Are the exported functions declared with extern "C"? 
  28.  
  29. If not, you have a problem. 
  30.  
  31. BTW, there's no reasonable way for you to call the C++ member  
  32. functions from your C program. 
  33.  
  34. -- 
  35. Pete Grant 
  36. Kalevi, Inc. 
  37. Software Engineering & development
  38.